<!DOCTYPE html>
<html lang="en">
    
 <?php
include("../Controller/redirection.php");
 ?>
    
    
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="../../assets/ico/favicon.ico">
    <!-- <link href="Index.css" rel="stylesheet" type="text/css"> --<

    <title>ExiaStore</title>

    <!-- Bootstrap core CSS -->
    <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="offcanvas.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    
  </head>

  <body style="background-color:rgb(180,180,180)">
 
      </br></br></br></br></br>
     
      
    <?php  
    include ("navbarAdmin.php"); 
    ?>
       
      
    <div class="container">
      

    <?php  
    //include ("../Controller/afficherStock.php"); 
    ?> 
        
      <?php
    $bdd = new PDO('mysql:host=localhost;dbname=exiastore', 'root', '');
    $req = $bdd->prepare('SELECT COUNT (quantite) as quant FROM compositioncommande');
    $req->execute();
    $donnees = $req->fetch();
    $req->closeCursor();
    echo $donnees['quant'];
        
    ?>
   
      <footer>
        <p>&copy; ExiaStore 2014</p>
      </footer>

    </div><!--/.container-->



    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <script src="../bootstrap/js/bootstrap.min.js"></script>
    <script src="offcanvas.js"></script>
  </body>
</html>